<%@page contentType="text/html" pageEncoding="UTF-8"
        import="com.exc.pojo.Resume,java.util.ArrayList"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<!--isELIgnored＝"true"时直接输出表达式，而isELIgnored＝”false”时直接输出值-->
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>Looping with c:forEach</title>
</head>
<body>

<div> <a href="/r/toAdd" >新增</a> </div>
<table border="1">
    <tr>
        <th>Name</th>
        <th>address</th>
        <th>phone</th>
        <th>修改</th>
        <th>删除</th>
    </tr>

    <c:forEach var="resume" items="${listResume}">
        <tr>
            <td>${resume.name}</td>
            <td>${resume.address}</td>
            <td>${resume.phone}</td>
            <td><a href="/r/update/${resume.id}" >修改</a></td>
            <td><a href="/r/delete/${resume.id}" >删除</a></td>
        </tr>
    </c:forEach>

</table>
</body>
</html>